import { combineReducers } from 'redux';
import schoolMode from './modes/SchoolMode';

export default function createReducer(injectedReducers) {
  return combineReducers({
    school: schoolMode.reducer,
    ...injectedReducers,
  });
}

export function storeModes() {
  return [schoolMode];
}
